﻿using FarmSmartSleep.Common.Domain.Sales_Purchase;
using FarmSmartSleep.Common.Dtos;
using MediatR;

namespace FarmSmartSleep.Organ.API.Application.Sales_Purchase.PersonalProcurement
{
    /// <summary>
    /// 查询个体采购
    /// </summary>
    public class PersonalProcurementListCommon:IRequest<ResultPage<List<Proc>>>
    {
        /// <summary>
        /// 采购日期
        /// </summary> 
        public DateTime? PurchaseDate { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public string? Category { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string? Warehouse { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int TransferBuild { get; set; }

        /// <summary>
        /// 耳号
        /// </summary>
        public int EarId { get; set; }

        /// <summary>
        /// 采购员
        /// </summary>
        public int Buyer { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public int Supplier { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get; set; }
    }
}
